﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/PBOAMasterPage.master"
    AutoEventWireup="true" CodeFile="OneNoteSet.aspx.cs" Inherits="Schedule_OneNoteSet" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../CSS/Schedule.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="title">
        <b>
            个人便签设置</b>
       
    </div> <hr />
    <div id="NoteSet">
        <table>
            <tr>
                <td>
                    便签标题：
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="txtNoteTitle" runat="server" Width="180px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvNote" runat="server" 
                        ErrorMessage=" * 非空" ControlToValidate="txtNoteTitle" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    便签内容:
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="txtNoteContent" runat="server" TextMode="MultiLine" Height="201px"
                        Width="312px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    创建人：<asp:Label ID="lblUser" runat="server" Text='<%# Eval("UserNo") %>'></asp:Label>
                    &nbsp;&nbsp;&nbsp; 创建时间：<asp:Label ID="lblTime" runat="server" Text='<%# Eval("NoteCreateTime") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td id="Foot">
                    <asp:Button ID="btnSaveNote" runat="server" Text="保存" OnClick="btnSaveNote_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnDeleteNote" runat="server" Text="删除当前便签" OnClick="btnDeleteNote_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
